uniform sampler2D transferFunc;
vec4 postClassification( const vec4 attributes, const vec3 grad) 
{
    float deltaF = max(0.001, min(0.01, length(grad)));
	vec2 lookup2 = vec2(attributes.a-deltaF, attributes.a+deltaF);

	return texture2D(transferFunc, lookup2);
}

